import csv

def read():
    with open('collection/tp.csv','r',encoding='utf-8') as f:
        reader=csv.reader(f)
        next(reader)
        for x in reader:
            print(x[0],' ',x[1],' ',x[2])

def readDict():
    with open('collection/tp.csv','r',encoding='utf-8') as f:
        reader=csv.DictReader(f)
        for x in reader:
            print(x['name'],' ',x['tall'],' ',x['goal'])

if __name__=='__main__':
    read()
    readDict()
